package com.appkubes.mall.restful.application.goods.goods.entity.dto;

import com.appkubes.mall.restful.application.goods.goods.entity.model.GoodsUserModel;
import com.appkubes.mall.restful.application.goods.goods.entity.pojo.ColorAttribute;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class MallGoodDetailDto {
    private String goodsKey;
    private String storeKey;
    private String name;
    private String catKey;
    private String picsTemp;
    private int state;
    private String pic;
    private int index;
    private BigDecimal price;
    private BigDecimal costPrice;
    private BigDecimal originalPrice;
    private int stock;
    private int isHot;
    private String subheading;
    private int salesNum;
    private String goodsBeginTime;
    private String endTime2;
    private int buyCount;
    private String service;
    private String details;
    private String specifications;
    private String useAttr;
    private String unit;
    private String specificTemplateKey;
    private List<String> pics;
    private List<GoodsUserModel> users;
    private List<ColorAttribute> colors;
    private Integer version;

    private BigDecimal buyOutAmount;
    private BigDecimal rentInterestRate;
    private BigDecimal commisionRate;
    private int isPayFirst;
}
